﻿using System;
using System.Runtime.Serialization;

namespace Mbs
{
    [Serializable]
    public class CyclicDependencyFoundException : Exception
    {
        public CyclicDependencyFoundException() : base() { }
        public CyclicDependencyFoundException(string message) : base(message) { }
        public CyclicDependencyFoundException(string message, Exception innerException) : base(message, innerException) { }
        protected CyclicDependencyFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { }
    }

    
}

namespace Mbs.Modularity
{
    [Serializable]
    public class ModuleLoadException : Exception
    {
        public ModuleLoadException() : base() { }
        public ModuleLoadException(string message) : base(message) { }
        public ModuleLoadException(string message, Exception innerException) : base(message, innerException) { }
        protected ModuleLoadException(SerializationInfo info, StreamingContext context) : base(info, context) { }
    }
}